package com.zany.children.service;

import com.zany.children.dao.PaymentOrgDao;
import com.zany.children.vo.PaymentOrg;

import java.util.List;

public class PaymentOrgServiceImpl implements PaymentOrgService{

    private PaymentOrgDao paymentOrgDao;

    public PaymentOrgDao getPaymentOrgDao() {
        return paymentOrgDao;
    }

    public void setPaymentOrgDao(PaymentOrgDao paymentOrgDao) {
        this.paymentOrgDao = paymentOrgDao;
    }

    @Override
    public Long savePaymentOrg(PaymentOrg paymentOrg) {
        return paymentOrgDao.savePaymentOrg(paymentOrg);
    }

    @Override
    public List<PaymentOrg> getPaymentOrgList(PaymentOrg paymentOrg) {
        return paymentOrgDao.getPaymentOrgList(paymentOrg);
    }

    @Override
    public void updatePaymentOrg(PaymentOrg paymentOrg) {
        paymentOrgDao.updatePaymentOrg(paymentOrg);
    }
}
